package net.neptech.model.mdt;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.neptech.utils.SnowflakeIdGenerator;
import org.hibernate.annotations.GenericGenerator;

/**
 * @Author Saya
 * @Date 2025/8/13 11:32
 * @Description TODO
 **/
@Entity
@Table(name = "mdt_doc_meeting")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DocMeeting {

    @Id
    @GenericGenerator(name = "snowflake", type = SnowflakeIdGenerator.class)
    @GeneratedValue(generator = "snowflake")
    @Column(name = "id")
    public Long id;

    @Column(name = "meeting_id")
    private Integer meetingId;

    @Column(name = "doc_id")
    private Integer docId;
}
